package com.junsi.common.enums;

public enum DingMsgType {

	text("text", "文本消息"),
	image("image", "图片消息"),
	voice("text", "语音消息"),
	file("file", "文件消息"),
	link("link", "链接消息"),
	oa("oa", "OA消息"),
	markdown("markdown", "markdown消息"),
	action_card("action_card", "卡片消息");
	
	private String code;
	private String label;
	
	private DingMsgType(String code, String label) {
		this.code = code;
		this.label = label;
	}
	
	public String getCode() {
		return code;
	}
	
	public String getLabel() {
		return label;
	}
	
}
